#!/bin/sh

mkdir -p m4

echo "Running aclocal..." ; aclocal -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --copy --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy || exit 1
echo "Running autoreconf..." ; autoreconf || exit 1
